<?php  



?> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html>
<head>
 <script src="//code.jquery.com/jquery-1.10.2.js"></script><script type="text/javascript">
	$(document).ready(function() {
		$('#form form').submit(function(){
			$.post('data.php', $(this).serialize(), function(data){
				$('#content').html(data);
			});				
			return false;
		});
	});
	</script>
</head>
<body>
<div id="form">
<form>
Name : <input type="text" name="urname"><br />
<input type="submit" name="submit" value="Submit">
</form>
</div>
<div id="content">
</div>
</body>
</html>